﻿SmartCard Application for Android
Version: v1.3.3.0
SmartCardLib.jar version:
	SC-HW  :v1.0.5.0
	SC-Lib :v1.0.7.0
	compiled with JDK6
Android build Tool:21.0.0
Author: Woody Wang
Date:06/05/2015
VSS path:$/SecurityController/9563/Android/App/SmartCardApp


1. Using 'set power' buttom to replace background polling thread (polling for card slot status and then power on/off).
   A polling thread leads to more competition issues.
2. Adds "lock" to protect each CCID command.




===========================================================================
Version: v1.2.2.0
SmartCardLib.jar version:
	SC-HW  :v1.0.5.0
	SC-Lib :v1.0.6.0
	compiled with JDK6
Android build Tool:21.0.0
Author: Woody Wang
Date:05/12/2015
VSS path:$/SecurityController/9563/Android/App/SmartCardApp


1. SmartCardLib.jar is compiled with JDK6.
   This reduces dependency issues of environment to build code.
   If SmartCardLib.jar is compiled with JDK7, and customer's environment is JDK6 or Android API lower than level 19,
    follows error occurs:
   "   E/AndroidRuntime(): java.lang.NoClassDefFoundError: amlib.hw.HardwareInterface "

2. Modify layout
3. add verification of 952x. Move this verification code from amlib.hw to amlib.ccid
4. remove unnecessary png files under res folder.
5. supports reader with two luns.(PID 9522/9525/9526)
6. add .setting folder along with release.




===========================================================================
Version: 	  	v1.1.2.100
Release iteration: 	3
Lib-version:
SC-HW.jar:		v1.0.4.0
SC-Lib.jar:		v1.0.4.0
Author: 		Woody Wang
Date:			03/27/2015

source on VSS path:
$/SecurityController/9563/Android/App/SmartCardApp
$/SecurityController/9563/Android/App/Lib

1. Modify directly from v1.1.1.0 for ASUS.
2. It keep sends APDU to get serial number of card.
3. Source code of Application is not released along with apk.
   The SmartCardLib.jar is not 'code obfuscation', so it SHOULD NOT be released.
   The SmartCardApp-EMI.apk is 'code obfuscation', so it is safe to release.
4. update lib:SC-HW for disable debug message.



===========================================================================
Version: v1.1.1.0
Lib-version:
SC-HW.jar  :v1.0.3.0
SC-Lib.jar :v1.0.4.0
Author: Woody Wang
Date:03/24/2015
VSS path:$/SecurityController/9563/Android/App/SmartCardApp

1. The library SC-HW.jar and SC-Lib.jar are combined into one jar, SmartCardLib.jar. 
   Though the organization of library source is not changed.

2. Change 'android key.store' from debugkey to my own key. (password:alcormicro)

3. When Reader is removed, clean text fields and devices list on UI. All buttons except 'List Reader' and 'Open Reader'
   are set to 'disabled'

4. add buttons to get SN (Serial Number in EEPROM) Though this buttons are set to be invisible.

5. Improve the stability when application switches between 'active' and 'back ground'.

6. Remove codes that depends on android.support.v7.app.ActionBarActivity. This increaces the independency of project code.
   (	change class ActionBarActivity to class Activity, 
	android:theme="@style/AppTheme"  in AndroidManifest.xml.
	folders res/values-v11  res/values-v14  res/menu
   )

7. If device is AU9520, to verify some specific USB descriptors.

8. Stop detecting slot status when application is set to back ground.

9. Add follows in AndroidManifest.xml. This is for accessing the external storage when saving Tx/Rx log in a file.
  
               <uses-permission
         	 	android:name="android.permission.READ_EXTERNAL_STORAGE" />
      		<uses-permission 
      		    android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    The log file is located in sdcard/Android/data/com.example.smartcardapp/files
    (the folder may differ from device to device)
10. Modify the UI layout

11. Sends powerOn command whenever a 'Card insersion' is detected.
 




===========================================================================
Version: v1.0.0.1
Author: Woody Wang
Date:12/10/2014

The firs release of SmartCard Android application and library.
Supports 9560/9540/9520 to access CPU card.
This example application can power on card, get ATR, get protocol, send APDU and power off card.

limitation:
1. Switch reader mode is not support currently
2. For card in 97 speed, it is forced to down grade to 96
3. After remove/replug reader, please restart the application.

Lib-version:
SC-HW.jar  :v1.0.0.1
SC-Lib.jar :v1.0.0.1




-----------------------------------------------------------------------------
Note
Version: a.b.c.d
a: Main distribution. 程式/UI架構有大的變動時，變更此碼。此碼無累加的相依性
b: sub-distribution. 依據Main distribution，每次做修改進版時累進
c. Library version. 當使用的library有修改時，累進一碼。 release note裡需要標明詳細的library版本
d. Debug version. 預留